<?php 
namespace app\model;
use think\Model;

class News extends Model
{	
    public static function getLanguageCn($key){
        $list = ['en'=>'英文','zh'=>'中文'];
        return $list[$key];
    }

    public static function getLanguageList(){
        $list = ['en'=>'英文','zh'=>'中文'];
        return $list;
    }

    public static function getStatusCn($key){
        $list = [0=>'已采集',1=>'已翻译',2=>'已分析',10=>'已完成'];
        return $list[$key];
    }

    public static function getStatusList(){
        $list = [0=>'已采集',1=>'已翻译',2=>'已分析',10=>'已完成'];
        return $list;
    }
}


 ?>